html {
    width: 100vw;
    height: 100vh;
}

body {
    height: 100%;
    display: flex;
    flex-direction: column;
}

* {
    margin: 0;
    padding: 0;
}

img {
    display: block;
}

a {
    text-decoration: none;
}


/* header */

#header {
    width: 10rem;
    height: 1.173333rem;
    display: flex;
    justify-content: space-between;
    background-color: orange;
    text-align: center;
    color: #fff;
    font: .533333rem/1.173333rem "";
    font-weight: 600;
}

#header>a:nth-of-type(1) {
    position: relative;
    overflow: hidden;
    width: 1.13333rem;
    height: 100%;
}

#header>a:nth-of-type(1) {
    font: 1.086667rem/1.173333rem "";
    color: white;
}

#header>a:nth-of-type(2)>img {
    width: 1.13333rem;
    height: 100%;
}

#navBox #navMain {
    display: flex;
    flex-wrap: wrap;
    margin: .533333rem 1.2rem;
}

#navBox #navMain>a {
    border: .026667rem solid grey;
    display: flex;
    margin-left: .4rem;
    margin-bottom: 0.433333rem;
    color: black;
    background: gainsboro;
}

#navBox #navMain>a>img {
    margin: .133333rem 0;
    padding: 0 .133333rem;
}

#navBox #navMain>a>p {
    font: .373333rem/.746667rem "";
    padding-right: .133333rem;
}